package com.jsyl.lwbk.business.mapper;

import com.jsyl.lwbk.business.domain.IntegrationTrainAmount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IntegrationTrainAmountMapper {
    /**
     * 跟据ID获取
     * @param ids
     * @return
     */
    List<IntegrationTrainAmount> listByIds(@Param("ids")List<String> ids);

    List<IntegrationTrainAmount> findList(String projectCode);

    /**
     * 获取学生已解锁的训练量
     * @param childId
     * @param projectCode
     * @return
     */
    List<IntegrationTrainAmount> listByChild(@Param("childId")Long childId,
                                             @Param("projectCode")String projectCode);
}
